package org.example.maven.pojo.role;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
@Data
public class SearchRole {
    private String id;
    private String roleKey;
    private String roleName;
    private Integer status;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") // 匹配前端格式
    private LocalDateTime startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") // 匹配前端格式
    private LocalDateTime endTime;
}
